/**
 * Created by shanyun.gu on 2017/3/20.
 */
require.config({
    baseUrl: "",
    paths: {
        'jquery': ["http://cdn.bootcss.com/jquery/3.2.1/jquery.min","asset/jquery/jquery.min"],
        'angular': ["http://cdn.bootcss.com/angular.js/1.6.4/angular.min","asset/angular/angular.min"],
        'ui-route': ["http://cdn.bootcss.com/angular-ui-router/0.4.2/angular-ui-router.min","asset/angular/angular-ui-router.min"],
        'ui-bootstrap':'asset/angular/angular-bootstrap/ui-bootstrap-tpls-1.3.2.min',
        'ng-file-upload':'asset/angular/angular-file-upload/ng-file-upload.min',
        'bootstrap':'asset/jquery/bootstrap',
        'datetimepicker':'asset/jquery/bootstrap-datetimepicker.min',
        'datetimepickerch':'asset/jquery/bootstrap-datetimepicker.zh-CN',
        'ngApp': "asset/core/ngApp",
        'angularAMD': "asset/angular/angularAMD",
        'router': "asset/core/router",
        "ngLoader": "asset/core/ngLoader",
        "ngHttp":"asset/core/ngHttp",
        "ngConstant":"asset/core/ngConstant",
        "ngAlert":"asset/core/plugIns/ngAlert",
        "angular-cookies":"asset/angular/angular-cookies",
        "commonFunction":"asset/core/commonFunction"
    },
    shim: {
        "bootstrap":{
          deps:["jquery"]
        },
        'angular': {
            exports: "angular"
        },
        'ui-route': {
            deps:["angular"]
        },
        'ui-bootstrap':{
            deps:["angular"]
        },


        'angularAMD': {
            deps: ["angular"]
        },
        'angular-cookies':{
            deps:["angular"]
        },

        'ng-file-upload':{
            deps:["angular"]
        },

        'datetimepickerch':{
            deps:["datetimepicker"]
        }
    },
    urlAges: "v= " + new Date().getTime(),
    deps: ["ngApp","asset/core/plugIns/commonFn","tpl/base/services/header","tpl/base/services/search","tpl/base/services/leftTab"]
    //
});